<?php
/*
    Template Name: OneBainbridge
*/

global $context;
get_header("onebainbridge");

echo "<div class='oneb-contents'>\n";

echo "
    <div id='oneb-left-bar' class='oneb-left-bar'> <ul> ";
        dynamic_sidebar('oneb-left-bar') ;
    echo " </ul> </div>\n"; 

    echo "<div id='oneb-posts' class='oneb-posts'> ";

    query_posts(array('posts_per_page' => '5', 
                      'cat' => '4'));

    if( have_posts() ) {
        while( have_posts() ) {
        echo "<div>\n";
            the_post();
            echo "<h1>";
            the_title();
            echo "</h1>
            <div>\n";
            the_content();
            echo "</div>\n";
        echo "</div>\n";
        }
    }

    echo "</div>  <!-- oneb-posts -->\n";


    echo "<div id='oneb-right-bar' class='oneb-right-bar'> <ul>\n";
    dynamic_sidebar('oneb-right-bar') ;
    echo " </ul> 
    </div> <!-- posts -->\n"; 

echo "</div> <!-- oneb-contents -->\n";
    echo "
        </div><!-- end #container -->
    </body>
</html>";
            
// echo "<div class='page_name'>page.php</div>";

// get_footer();
// print_r("page.php");
?>
